home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / image / eimg202a.zip / DEMO / UNIT1.DFM / UNIT1.txt < prev   
Text File  |  1997-01-25  |  5KB  |  274 lines

  1. object Form1: TForm1
  2.   Left = 263
  3.   Top = 119
  4.   BorderStyle = bsSingle
  5.   Caption = 'TEnhImage component DEMO'
  6.   ClientHeight = 340
  7.   ClientWidth = 488
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   Menu = MainMenu1
  13.   Position = poScreenCenter
  14.   OnCreate = FormCreate
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object original: TEnhImage
  18.     Left = 4
  19.     Top = 172
  20.     Width = 220
  21.     Height = 165
  22.     Border = True
  23.     Center = True
  24.     OverSize = True
  25.     ScaleStyle = ssScale
  26.   end
  27.   object Label1: TLabel
  28.     Left = 232
  29.     Top = 16
  30.     Width = 48
  31.     Height = 13
  32.     Caption = 'Saturation'
  33.   end
  34.   object Label2: TLabel
  35.     Left = 232
  36.     Top = 52
  37.     Width = 49
  38.     Height = 13
  39.     Caption = 'Brightness'
  40.   end
  41.   object Label3: TLabel
  42.     Left = 232
  43.     Top = 88
  44.     Width = 39
  45.     Height = 13
  46.     Caption = 'Contrast'
  47.   end
  48.   object SatLab: TLabel
  49.     Left = 448
  50.     Top = 16
  51.     Width = 21
  52.     Height = 13
  53.     Alignment = taRightJustify
  54.     AutoSize = False
  55.     Caption = '0'
  56.   end
  57.   object LigLab: TLabel
  58.     Left = 448
  59.     Top = 52
  60.     Width = 21
  61.     Height = 13
  62.     Alignment = taRightJustify
  63.     AutoSize = False
  64.     Caption = '0'
  65.   end
  66.   object ConLab: TLabel
  67.     Left = 448
  68.     Top = 88
  69.     Width = 21
  70.     Height = 13
  71.     Alignment = taRightJustify
  72.     AutoSize = False
  73.     Caption = '0'
  74.   end
  75.   object Label7: TLabel
  76.     Left = 472
  77.     Top = 16
  78.     Width = 8
  79.     Height = 13
  80.     Caption = '%'
  81.   end
  82.   object Label8: TLabel
  83.     Left = 472
  84.     Top = 52
  85.     Width = 8
  86.     Height = 13
  87.     Caption = '%'
  88.   end
  89.   object Label9: TLabel
  90.     Left = 472
  91.     Top = 88
  92.     Width = 8
  93.     Height = 13
  94.     Caption = '%'
  95.   end
  96.   object temp: TEnhImage
  97.     Left = 232
  98.     Top = 252
  99.     Width = 53
  100.     Height = 38
  101.     Border = True
  102.     Center = True
  103.     Picture.Data = {<image000.bmp>}
  104.     ScaleStyle = ssScale
  105.     Visible = False
  106.   end
  107.   object Label4: TLabel
  108.     Left = 232
  109.     Top = 140
  110.     Width = 49
  111.     Height = 13
  112.     Caption = 'Brightness'
  113.     Font.Color = clBlack
  114.     Font.Height = -11
  115.     Font.Name = 'MS Sans Serif'
  116.     Font.Style = []
  117.     ParentFont = False
  118.   end
  119.   object Label5: TLabel
  120.     Left = 232
  121.     Top = 216
  122.     Width = 48
  123.     Height = 13
  124.     Caption = 'Saturation'
  125.   end
  126.   object img: TEnhImage
  127.     Left = 4
  128.     Top = 4
  129.     Width = 220
  130.     Height = 165
  131.     Border = True
  132.     Center = True
  133.     OverSize = True
  134.     ScaleStyle = ssScale
  135.   end
  136.   object Label6: TLabel
  137.     Left = 304
  138.     Top = 324
  139.     Width = 178
  140.     Height = 13
  141.     Caption = 'by Alfredo Milani-Comparetti - 1996-97'
  142.   end
  143.   object BitBtn1: TBitBtn
  144.     Left = 400
  145.     Top = 292
  146.     Width = 75
  147.     Height = 25
  148.     TabOrder = 5
  149.     OnClick = BitBtn1Click
  150.     Kind = bkClose
  151.   end
  152.   object Panel1: TPanel
  153.     Left = 296
  154.     Top = 132
  155.     Width = 185
  156.     Height = 69
  157.     BorderWidth = 3
  158.     TabOrder = 0
  159.     object PaintBox1: TPaintBox
  160.       Left = 4
  161.       Top = 4
  162.       Width = 177
  163.       Height = 61
  164.       Align = alClient
  165.       Color = clBtnFace
  166.       ParentColor = False
  167.       OnPaint = PaintBox1Paint
  168.     end
  169.   end
  170.   object Panel2: TPanel
  171.     Left = 296
  172.     Top = 208
  173.     Width = 185
  174.     Height = 69
  175.     BorderWidth = 3
  176.     TabOrder = 1
  177.     object PaintBox2: TPaintBox
  178.       Left = 4
  179.       Top = 4
  180.       Width = 177
  181.       Height = 61
  182.       Align = alClient
  183.       Color = clBtnFace
  184.       ParentColor = False
  185.       OnPaint = PaintBox2Paint
  186.     end
  187.   end
  188.   object saturation: TScrollBar
  189.     Left = 292
  190.     Top = 16
  191.     Width = 153
  192.     Height = 14
  193.     LargeChange = 5
  194.     Min = -100
  195.     TabOrder = 2
  196.     OnChange = saturationChange
  197.   end
  198.   object lightness: TScrollBar
  199.     Left = 292
  200.     Top = 52
  201.     Width = 153
  202.     Height = 14
  203.     LargeChange = 5
  204.     Min = -100
  205.     TabOrder = 3
  206.     OnChange = LightnessChange
  207.   end
  208.   object contrast: TScrollBar
  209.     Left = 292
  210.     Top = 88
  211.     Width = 153
  212.     Height = 14
  213.     LargeChange = 5
  214.     Min = -100
  215.     TabOrder = 4
  216.     OnChange = ContrastChange
  217.   end
  218.   object MainMenu1: TMainMenu
  219.     Left = 12
  220.     Top = 12
  221.     object Loadpicture1: TMenuItem
  222.       Caption = '&File'
  223.       ShortCut = 0
  224.       object Loadpicture2: TMenuItem
  225.         Caption = '&Load picture'
  226.         ShortCut = 0
  227.         OnClick = Loadpicture2Click
  228.       end
  229.       object N1: TMenuItem
  230.         Caption = '-'
  231.         ShortCut = 0
  232.       end
  233.       object Exit1: TMenuItem
  234.         Caption = '&Exit'
  235.         ShortCut = 0
  236.       end
  237.     end
  238.     object Effects: TMenuItem
  239.       Caption = '&Effects'
  240.       ShortCut = 0
  241.       object FlipHorizontal1: TMenuItem
  242.         Caption = 'Flip &horizontal'
  243.         ShortCut = 0
  244.         OnClick = FlipHorizontalClick
  245.       end
  246.       object Flipvertical1: TMenuItem
  247.         Caption = 'Flip &vertical'
  248.         ShortCut = 0
  249.         OnClick = FlipVerticalClick
  250.       end
  251.       object Togray2: TMenuItem
  252.         Caption = 'To &gray'
  253.         ShortCut = 0
  254.         OnClick = ToGrayClick
  255.       end
  256.       object Invert1: TMenuItem
  257.         Caption = '&Invert'
  258.         ShortCut = 0
  259.         OnClick = invertClick
  260.       end
  261.     end
  262.   end
  263.   object OpenDlg: TOpenDialog
  264.     DefaultExt = '*.j'
  265.     FileEditStyle = fsEdit
  266.     Filter = 
  267.       'JPEG files|*.JPG|BMP files|*.BMP|Graphic files|*.JPG;*.BMP|Any f' +
  268.       'ile|*.*'
  269.     Options = [ofHideReadOnly, ofPathMustExist, ofFileMustExist]
  270.     Left = 44
  271.     Top = 12
  272.   end
  273. end
  274.